<template>
	<view class="wrapper">
		<u-parse :content="content"></u-parse>

	</view>
</template>

<script>
	import {
		graphicInfo
	} from '@/api/home-api.js'
	export default {
		data() {
			return {
				graphicId: '',
				content: ''
			}
		},
		onLoad(op) {
			this.graphicId = op.graphicId;
			this.getGuidesContent();
		},

		methods: {
			getGuidesContent() {
				graphicInfo(this.graphicId).then(res => {
					this.content = res.data;
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.wrapper {
		margin: 20upx;
		padding: 16upx;
		border-radius: 16upx;
		background-color: $bg-white-color;

	}
</style>
